_ = require "lib/underscore"

cooPhiph = (opts, fn, filther) ->
  fn(x, opts[x]) for x of opts when filther(opts[x])

cooPhiph
  name: "Bjarne"
  age: 23
  university: "NTNU"
, (key,value) ->
  console.log "["+key+":] "+value
, (value) ->
  value == 23